package com.zihao.solon_study.System.Controller;

import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Get;
import org.noear.solon.annotation.Mapping;

@Controller
public class HelloController {

    @Get
    @Mapping("hello")
    public String hello() {
        return "hello";
    }

    @Get
    @Mapping("hi")
    public String hi(){
        return "hi";
    }
}
